package com.guigu.erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.erp.dto.ManufactureApplyDto;
import com.guigu.erp.dto.StorageCellDto;
import com.guigu.erp.pojo.DesignModule;
import com.guigu.erp.pojo.ManufactureApply;
import com.guigu.erp.pojo.StorageCell;
import com.guigu.erp.utils.PageUtils;
import com.guigu.erp.vo.DesignFileVo;

/**
 * @author Lenovo
 */
public interface ManufactureApplyService extends IService<ManufactureApply> {
    /**
     * 获取Id最大的生产计划编号
     * @return
     */
    String getMaxApplyId();

    /**
     * 按条件分页查询生产计划的未复核
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<ManufactureApply> recheckPage(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 带条件分页查询生产计划
     */
    PageUtils<ManufactureApply> manufactureApplyListPage(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 带条件分页查询未派工的生产计划
     */
    PageUtils<ManufactureApply> manufactureApplyListPage2(DesignFileVo vo, int pageNo, int pageSize);
}
